<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>首页</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<!--common-->
		<link rel="stylesheet" href="../common/lib/weui.min.css">
		<link rel="stylesheet" href="../common/css/jquery-weui.css">
		<link rel="stylesheet" type="text/css" href="../common/css/login.css" />
		<link rel="stylesheet" type="text/css" href="../common/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="../common/css/user.css" />
		<!--user-->
		<link rel="stylesheet" type="text/css" href="css/index.css" />
	</head>

	<body ontouchstart>
		<!--头部-->
		<div class="header">
			<div class="weui-flex">
				<div class="weui-flex__item">
					<div class="placeholder">
						<span class="weui-icon-search"></span>
						<div><input type="text" placeholder="搜索" /></div>
					</div>
				</div>
				<div class="sunline">
					<div class="placeholder">
						<span class="glyphicon glyphicon-option-vertical"></span>
					</div>
				</div>
			</div>
		</div>
		<!--loading-->
		<div class="login">
			<div class="csshub-loading" v-if="isloading==true">
				<div></div>
				<div></div>
				<div></div>
				<div></div>
				<div></div>
			</div>
		</div>
		<!--帖子-->
		<div class="content" v-if="isloading!=true">
			<div class="item" v-for="item in post" @click="Detail($index)">
				<div class="tltle">
					<div class="weui-flex">
						<div>
							<div class="placeholder">
								<img src="img/10.jpg" />
							</div>
						</div>
						<div class="weui-flex__item">
							<div class="placeholder">热门内容，来自：<span v-html="item.type"></span></div>
						</div>
					</div>
				</div>
				<div class="title" v-html="item.title">标题</div>
				<div class="main" v-html="item.content"></div>
				<div class="thumbs"><span v-html="item.count">***</span>赞同<span class="time">2017-04-01</span></div>
			</div>
		</div>
		<!--底部切换-->
		<div class="weui-tabbar ">
			<a href="../head/index.html" class="weui-tabbar__item  weui-bar__item--on">
				<p class="weui-tabbar__label "><span class="glyphicon glyphicon-list"></span></p>
				<p class="weui-tabbar__label ">首页</p>
			</a>
			<a href="../Found/found.html" class="weui-tabbar__item">
				<p class="weui-tabbar__label "><span class="glyphicon glyphicon-globe"></span></p>
				<p class="weui-tabbar__label ">发现</p>
			</a>
			<a href="../Event/Event.html" class="weui-tabbar__item  ">
				<p class="weui-tabbar__label "><span class="glyphicon glyphicon-bell"></span></p>
				<p class="weui-tabbar__label ">通知</p>
			</a>
			<a href="../personal/personal.html" class="weui-tabbar__item ">
				<p class="weui-tabbar__label "><span class="glyphicon glyphicon-menu-hamburger"></span></p>
				<p class="weui-tabbar__label ">主页</p>
			</a>
		</div>
		<script src="../common/lib/jquery-2.1.4.js"></script>
		<script src="../common/js/jquery-weui.js"></script>
		<script src="../common/js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>